package com.myweb.enumer;

/**
 * 
 * @Title: ContractStatus.java 
 * @Package myweb.com.enumer

 * @Description: 枚举
 * @author jianguo.jing
 * @author jianguo.jing
 * @date 2017年10月24日 下午10:24:54  
 * @version V1.0
 */
public enum ContractStatus {
	ZCTZ("zctz","0"),//正常投资
	BLB("blb","0,1,2"),//标列表
	MB("mb","1");//标列表
	private final String msgType;
	private final String msgContent;
	public String getMsgType() {
		return msgType;
	}
	public String getMsgContent() {
		return msgContent;
	}
	
	private ContractStatus(String msgType,String msgContent){
		this.msgType = msgType;
		this.msgContent = msgContent;
	}
	
	public static ContractStatus getContent(String msgType){
		for(ContractStatus lcj:ContractStatus.values()){
			if(lcj.msgType.equals(msgType)){
				return lcj;
			}
		}
		return null;
	}
}
